<template>
  <micro-app
    class="micro-app"
    name="sysFormDesign"
    :url="appUrlConfig.formDesign"
    baseroute="/form-design"
    default-page="/sys/system"
    fiber
    :data="{ token: getToken(), sysConfig }"
    router-mode="native"
  />
</template>

<script setup lang="ts">
import appUrlConfig from "@/config/appUrlconfig";
import { getToken } from "@/utils/auth";

defineProps({
  sysConfig: {
    required: true,
    type: Object,
    default: () => ({})
  }
});
</script>

<style scoped lang="scss">
.micro-app,
:deep(micro-app-body) {
  height: 100%;
}
</style>
